$t_w: 1920;
@function removeUnit($val) {
    @return $val/($val * 0 + 1);
}

@function percent($val, $total: $t_w) {
    @return percentage(removeUnit($val) / removeUnit($total));
}

@function px2vw($val, $total: $t_w) {
    @return removeUnit($val) * 100 / removeUnit($total) + vw;
}

.page-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    &.active {
        display: block;
    }
}
